package com.liang.exam.service;

import com.github.pagehelper.PageInfo;
import com.liang.exam.entity.Exam;
import com.liang.exam.entity.Student;

public interface StudentService {

    Student findByAccount(String account);

    Student findByIpAddress(String ipAddress);

    Student findById(int id);

    void save(String ipAddress, int id);

    PageInfo<Exam> examList(Integer pageNum, Integer pageSize, String account,String examName);

    void uploadStudentAnswer(Exam exam);
}
